#include <iostream>
#include <string>
#include <vector>
#include <unordered_map>
#include <cassert>
#include <string.h>
#include <unistd.h>

using namespace std;
namespace yanyu
{
    static unsigned long int next = 1;

    unsigned int randx()
    {
        next = next * 1103515245 + 12345;
        return (unsigned int)(next/65536)%32768;
    }

    void srandx(unsigned int seed)
    {
        next = seed;
    }
}

int main(int argc, char const *argv[])
{
    vector<int> vec{1,2,3,4};
    auto it = vec.erase(vec.begin()+1);
    if(vec.begin() == it)
    {
        cout << *it <<endl;
        cout << "yes" << endl;
    }
    cout << *it <<endl;

    return 0;
}
